package cn.demographic.dao;

import cn.demographic.entity.Marriage;
import cn.demographic.entity.User;

/*
 * 添加计生信息
 * */
public interface MarriageMapper {
	
	/**
	 * 添加计生信息
	 * @param record
	 * @return
	 */
    int insertSelective(Marriage record);
    /**
     * 通过userid查询计生信息
     * @param user
     * @return
     */
    Marriage findMarriage(User user);

    /**
     * 修改计生信息
     * @param record
     * @return
     */
    int updateMarriage(Marriage record);
}